package com.dcw.lixb.designmode.singleinstance;

/**
 * @author lixiaobin
 * @date 2020-07-16 17:27:34
 * @desc 描述信息
 */
public class TestSingleF {
    public static void main(String[] args) {
        for (int i = 0; i < 10; i++) {
            new Thread(){
                @Override
                public void run() {
                    SingleF singleF = SingleF.INSTANCE;
                    System.out.println(System.currentTimeMillis()+" SingleF : "+singleF);
                }
            }.start();
        }
    }
}
